package com.label.Model.Do;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("SEME_WARN")
@Data
public class SemeWarn {

    @TableId(value = "SEME_WARN_ID",type = IdType.ASSIGN_ID)
    private Long semeWarnId;

    @TableField(value = "USERID")
    private String userId;

    @TableField(value = "WARN_LEVEL")
    private String warnLevel;

    @TableField(value = "HELP_USERID")
    private String helpUserId;

    @TableField(value = "WARN_YEAR")
    private Long warnYear;

    @TableField(value = "WARN_Season")
    private String warnSeason;

    @TableField(value = "FAIL_COUNT")
    private Long failCount;

    public SemeWarn(){}

    public SemeWarn(String userId,String warnLevel,Long warnYear,String warnSeason,Long failCount){
        this.userId=userId;
        this.warnLevel=warnLevel;
        this.warnSeason=warnSeason;
        this.warnYear=warnYear;
        this.failCount=failCount;
    }


}
